/* Startup Template For USART TX */ // Sample Interrupt Handler void interrupt() { // USART Receive Interrupt if (PIR1.TXIF == 1) // if USART flag is set... { - Place Your Code Here - rxChar = RCREG; // reading clears the flag } } // Sample Main Setup void main() { // Set Interrupt Enable bits PIE1.TXIE = 1; // bit 4 USART Transmit Interrupt Enable //Set global Interrupt Enable bits INTCON.GIE = 1; // global interrupt enable INTCON.PEIE = 1; // Peripheral Interrupt Enable bit...1 = Enables all unmasked peripheral interrupts while(1) / endless loop { - Place Your Code Here - } }